package net.csdra.DongPoShuZiTuShuGuan.domain;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by add on 2018/1/16.
 */
public interface VideoRepository extends DongPoJPARepository<Video,String> {

    Video findByEnabledAndDeleted(boolean enabled,boolean deleted);

    Page<Video> findByEnabledAndDeleted(boolean enabled,boolean deleted, Pageable pageable);

}
